﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace CashOrCard.Models
{    
    public class PaymentHistory
    {
        [Key]
        public int PaymentId { get; set; }
        [MaxLength(100)]
        public string PaymentComment { get; set; }        
        public DateTime PaymentDate { get; set; }
        public decimal PaymentAmount { get; set; }
        public bool PaymentResult { get; set; }
        public int UserId { get; set; }
        [MaxLength(100)]
        public string UserEmail { get; set; }
        [MaxLength(50)]
        public string TransactionId { get; set; }
        [MaxLength(100)]
        public string BusinessEmail { get; set; }
        [MaxLength(100)]
        public string ItemName { get; set; }
        [MaxLength(10)]
        public string Currency { get; set; }
        [MaxLength(20)]
        public string PaymentStatus { get; set; }
        public decimal McGross { get; set; }
        [MaxLength(10)]
        public string McCurrency { get; set; }
        [MaxLength(100)]
        public string ReceiverEmail { get; set; }
        [MaxLength(100)]
        public string PayerEmail { get; set; }
        [MaxLength(50)]
        public string FirstName { get; set; }
        [MaxLength(50)]
        public string LastName { get; set; }
        [MaxLength(20)]
        public string PaymentType { get; set; }
        public DateTime? PaidDate { get; set; }
    }
}